﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BillingStorageQuery.aspx.cs" Inherits="WMS6.Web.Billing.BillingStorageQuery" meta:resourcekey="Page" %>

<%@ Register src="../UserControls/MultipleSelectControl.ascx" tagname="MultipleSelectControl" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>BillingStorageQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script> 
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>  
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
    <link href="../Js/JqueryPlugin/jquery.multiselect.css" rel="stylesheet" type="text/css" />
    <link href="../Js/JqueryPlugin/jquery.ui.css" rel="stylesheet" type="text/css" />
    <script src="../Js/JqueryPlugin/jquery.multiselect.min.js" type="text/javascript"></script>       
    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>
    <base target="_self" /> 
    <script type="text/javascript">    
        //初始化页面
        window.onload = function(){
            
            var actionID = window.dialogArguments;
            if(actionID != "" && actionID != null)
            {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0],array[1]);
            }
            else
            {
                initQueryPage();
            }
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
	    
        
        //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
        
	    //锁屏
		function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
        }
    </script>
</head>
<body>
    <form id="F9240" runat="server"  defaultfocus="txtOwnerID" defaultbutton="btnRun">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float:left; width: 8px;">
                <div class="tabL"></div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblBillingStorage" runat="server" Text="包仓费计算" CssClass="hover" 
                    meta:resourcekey="lblBillingStorage"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR"></div>
            </div>
        </div>
        
        <div id="div_query">
            <table width="360" cellpadding="0" cellspacing="0">                
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主" 
                            meta:resourcekey="lblOwnerID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtOwnerID"></asp:TextBox><img src="../Images/icon_find.gif" id="img1" runat="server" alt="select one item" class="img" onclick="selectOwner();"/>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>              
                <tr>
                    <td style="width:180px">
                        <asp:Label CssClass="label" ID="lblStatementDate" runat="server" Text="财务账期" meta:resourcekey="lblStatementDate"></asp:Label>
                        <span class="must_input">*</span> 
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td style="width:180px">
                        <asp:DropDownList ID="ddlYear" runat="server" style="vertical-align:bottom;" 
                            Width="75px" meta:resourcekey="ddlYearResource1">
                            <asp:ListItem Text="2010年" Value="2010" meta:resourcekey="ListItemResource1"></asp:ListItem>
                            <asp:ListItem Text="2011年" Value="2011" meta:resourcekey="ListItemResource2"></asp:ListItem>
                            <asp:ListItem Text="2012年" Value="2012" meta:resourcekey="ListItemResource3"></asp:ListItem>
                            <asp:ListItem Text="2013年" Value="2013" meta:resourcekey="ListItemResource4"></asp:ListItem>
                            <asp:ListItem Text="2014年" Value="2014" meta:resourcekey="ListItemResource5"></asp:ListItem>
                            <asp:ListItem Text="2015年" Value="2015" meta:resourcekey="ListItemResource6"></asp:ListItem>
                            <asp:ListItem Text="2016年" Value="2016" meta:resourcekey="ListItemResource7"></asp:ListItem>
                            <asp:ListItem Text="2017年" Value="2017" meta:resourcekey="ListItemResource8"></asp:ListItem>
                            <asp:ListItem Text="2018年" Value="2018" meta:resourcekey="ListItemResource9"></asp:ListItem>
                            <asp:ListItem Text="2019年" Value="2019" meta:resourcekey="ListItemResource10"></asp:ListItem>
                            <asp:ListItem Text="2020年" Value="2020" meta:resourcekey="ListItemResource11"></asp:ListItem>
                            <asp:ListItem Text="2021年" Value="2021" meta:resourcekey="ListItemResource12"></asp:ListItem>
                            <asp:ListItem Text="2022年" Value="2022" meta:resourcekey="ListItemResource13"></asp:ListItem>
                            <asp:ListItem Text="2023年" Value="2023" meta:resourcekey="ListItemResource14"></asp:ListItem>
                            <asp:ListItem Text="2024年" Value="2024" meta:resourcekey="ListItemResource15"></asp:ListItem>
                            <asp:ListItem Text="2025年" Value="2025" meta:resourcekey="ListItemResource16"></asp:ListItem>
                            <asp:ListItem Text="2026年" Value="2026" meta:resourcekey="ListItemResource17"></asp:ListItem>
                            <asp:ListItem Text="2027年" Value="2027" meta:resourcekey="ListItemResource18"></asp:ListItem>
                            <asp:ListItem Text="2028年" Value="2028" meta:resourcekey="ListItemResource19"></asp:ListItem>
                            <asp:ListItem Text="2029年" Value="2029" meta:resourcekey="ListItemResource20"></asp:ListItem>
                            <asp:ListItem Text="2030年" Value="2030" meta:resourcekey="ListItemResource21"></asp:ListItem>
                        </asp:DropDownList>
                        
                        <asp:DropDownList ID="ddlMonth" runat="server" style="vertical-align:bottom;" 
                            Width="75px" meta:resourcekey="ddlMonthResource1">
                            <asp:ListItem Text="1月" Value="01" meta:resourcekey="ListItemResource22"></asp:ListItem>
                            <asp:ListItem Text="2月" Value="02" meta:resourcekey="ListItemResource23"></asp:ListItem>
                            <asp:ListItem Text="3月" Value="03" meta:resourcekey="ListItemResource24"></asp:ListItem>
                            <asp:ListItem Text="4月" Value="04" meta:resourcekey="ListItemResource25"></asp:ListItem>
                            <asp:ListItem Text="5月" Value="05" meta:resourcekey="ListItemResource26"></asp:ListItem>
                            <asp:ListItem Text="6月" Value="06" meta:resourcekey="ListItemResource27"></asp:ListItem>
                            <asp:ListItem Text="7月" Value="07" meta:resourcekey="ListItemResource28"></asp:ListItem>
                            <asp:ListItem Text="8月" Value="08" meta:resourcekey="ListItemResource29"></asp:ListItem>
                            <asp:ListItem Text="9月" Value="09" meta:resourcekey="ListItemResource30"></asp:ListItem>
                            <asp:ListItem Text="10月" Value="10" meta:resourcekey="ListItemResource31"></asp:ListItem>
                            <asp:ListItem Text="11月" Value="11" meta:resourcekey="ListItemResource32"></asp:ListItem>
                            <asp:ListItem Text="12月" Value="12" meta:resourcekey="ListItemResource33"></asp:ListItem>
                        </asp:DropDownList>
                        <%--<asp:TextBox ID="txtStatementDate" runat="server" CssClass="textbox" meta:resourcekey="txtStatementDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" id="img1" runat="server"
                            onclick="setday(this,txtStatementDate)" />--%>
                    </td>
                    <td class="style2">
                    </td>
                    <td>
                    </td>
                    <td>
   
                    </td>
                </tr>
                
                
            </table>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnRun" runat="server" 
                            Text="运行" CssClass="button" OnClientClick="blockScreen();" 
                            Enabled="False"   onclick="btnRun_Click" meta:resourcekey="btnbtnRun" />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>
